Automattic\Jetpack_Boost\Modules\Critical_CSS\Critical_CSS B

Total Complexity 81
Dependencies 8
Dependents 1
Total lines 800
Lines of code 401
Logical lines of code 183
Comment lines 219
Methods 27
Properties 7

Methods 27

Method Rating Maintainability Complexity Lines of code
generate_success_handler()
A
45 6 47
on_initialize()
S
51 6 25
generate_error_handler()
S
48 5 39
asynchronize_stylesheets()
S
56 6 17
force_proxied_css()
S
54 5 20
check_generate_query()
S
56 5 19
handle_css_proxy()
S
59 5 13
get_critical_css_status()
S
53 4 25
get_current_request_css_keys()
S
59 4 15
display_critical_css()
S
62 4 12
permanently_dismiss_warning_modal()
S
56 3 18
proxy_css()
S
62 3 12
get_critical_css()
S
62 3 12
register_rest_routes()
S
49 1 41
is_ready_filter()
S
64 3 10
should_display_critical_css()
S
67 3 9
force_nonce_admin_user()
S
70 2 6
force_logged_out_render()
S
66 2 8
ensure_module_initialized()
S
73 2 5
current_user_can_modify_critical_css()
S
79 2 3
critical_css_request_generate_handler()
S
64 1 11
handle_environment_change()
S
82 1 3
api_get_critical_css_status()
S
80 1 3
get_local_critical_css_generation_info()
S
65 1 9
add_critical_css_constants()
S
63 1 10
display_generate_meta()
S
83 1 5
clear_critical_css()
S
78 1 4